package com.freedom.pms.goods.infrastructure.enums;

import com.freedom.common.core.base.IBaseEnum;
import lombok.Getter;

public enum GoodsOperEnum implements IBaseEnum<Integer> {

    CREATE(1, "创建"),
    EDIT(2, "修改"),
    UP(3, "上架"),
    DOWN(4, "下架"),

    AUDIT(5, "审核"),
    ;

    @Getter
    private Integer value;

    @Getter
    private String label;

    GoodsOperEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
